{"version":3,"sources":["validator.js"],"names":["BX","namespace","UI","EntityValidator","this","_settings","_editor","_data","prototype","initialize","settings","prop","get","getObject","doInitialize","release","getData","getDataStringParam","name","defaultValue","getString","getErrorMessage","validate","result","processControlChange","control","EntityPersonValidator","superclass","constructor","apply","extend","_nameField","getControlById","addValidator","_lastNameField","removeValidator","isNameActive","isActive","isLastNameActive","getRuntimeValue","getValue","lastName","addError","EntityValidationError","create","field","showError","processFieldChange","clearError","self","_field","_message","getField","getMessage","EntityValidationResult","_errors","getStatus","length","error","push","getErrors","addResult","errors","i","getTopmostField","top","currentField","getPosition","pos","currentFieldTop","EntityAsyncValidator","promisesList","isValid","validationResult","Promise","all","EntityTrackingSourceValidator","_trackingSourceField","value","select","isRequired","isRequiredByAttribute","hasOwnProperty","Type","isDomNode","querySelector","getId","replace"],"mappings":"AAAAA,GAAGC,UAAU,SAEb,UAAUD,GAAGE,GAAGC,kBAAoB,YACpC,CACCH,GAAGE,GAAGC,gBAAkB,WAEvBC,KAAKC,aACLD,KAAKE,QAAU,KACfF,KAAKG,MAAQ,MAEdP,GAAGE,GAAGC,gBAAgBK,WAErBC,WAAY,SAASC,GAEpBN,KAAKC,UAAYK,EAAWA,KAC5BN,KAAKE,QAAUN,GAAGW,KAAKC,IAAIR,KAAKC,UAAW,SAAU,MACrDD,KAAKG,MAAQP,GAAGW,KAAKE,UAAUT,KAAKC,UAAW,WAE/CD,KAAKU,gBAENA,aAAc,aAGdC,QAAS,aAGTC,QAAS,WAER,OAAOZ,KAAKG,OAEbU,mBAAoB,SAASC,EAAMC,GAElC,OAAOnB,GAAGW,KAAKS,UAAUhB,KAAKG,MAAOW,EAAMC,IAE5CE,gBAAiB,WAEhB,OAAOrB,GAAGW,KAAKS,UAAUhB,KAAKC,UAAW,UAAW,KAErDiB,SAAU,SAASC,GAElB,OAAO,MAERC,qBAAsB,SAASC,MAMjC,UAAUzB,GAAGE,GAAGwB,wBAA0B,YAC1C,CACC1B,GAAGE,GAAGwB,sBAA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